Release 10.1A: OpenEdge Development:
Web Services


Client interface methods for session-free AppObjects

A session-free AppObject provides the following methods.

Call a ProcName method on the AppObject to execute a corresponding non-persistent external procedure typically identified by ProcName:

ProcName (...) 

Because no context is maintained for a session-free AppObject, calls to these methods require no object IDs to be sent in the SOAP request header.

Use this method to create a SubAppObject:

CreateAO_SubAppObject ( ) 

Note: SubAppObjects are not recommended for use in session-free Web services.

This method must be executed before calling any other methods on the SubAppObject. The SOAP response header returned by this method contains a SubAppObjectID element whose value must be sent in the SOAP request header for all methods invoked on this SubAppObject. Because no context is maintained for a session-free AppObject, calls to this method require no object ID to be sent in the SOAP request header.

Use this method to create a ProcObject and execute the corresponding persistent procedure:

CreatePO_ProcObject (...) 

Note: ProcObjects are not recommended for use in session-free Web services.

This method must be executed before calling any other methods on the ProcObject. The SOAP response header returned by this method contains a ProcObjectID element whose value must be sent in the SOAP request header for all methods invoked on this ProcObject. Because no context is maintained for a session-free AppObject, calls to this method requires no object ID to be sent in the SOAP request header.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095